<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- <h5>你的名字是{{ username }}</h5>
    
    <div>{{@ baidu }}</div>
    <div><%- baidu%></div> -->

    {{if age<10}}
    <div>儿童</div>
    {{else if age<20}}
    <div>少年</div>
    {{else}}
    <div>老年</div>
    {{/if}}

    <ul>
        {{each users}}
        <li>{{$index}}--{{$value.id}}--{{$value.name}}</li>
        {{/each}}
    </ul>
</body>
</html>